<template>
	<view>
		 <web-view :src="url"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url:'',
				weather:'https://apip.weatherdt.com/v2/h5.html?bg=1&md=02345&lc=auto&key=q1w7bOTkxt',
				dataCenter:'http://data.earthquake.cn/index.html',
				serviceSystem:'http://earthquake.ckcest.cn/index.html',
				newEarthquakeInfo:'http://data.earthquake.cn/datashare/report.shtml?PAGEID=zxdzall',
				internationalQuakeCenter:'http://www.isc.ac.uk/',
			}
		},
		onLoad(option) {
			if(option.id=='weather'){
				this.url=this.weather
			}else if(option.id=='dataCenter'){
				this.url=this.dataCenter
			}else if(option.id=='serviceSystem'){
				this.url=this.serviceSystem
			}else if(option.id=='newEarthquakeInfo'){
				this.url=this.newEarthquakeInfo
			}else if(option.id == 'internationalQuakeCenter'){
				this.url=this.internationalQuakeCenter
			}
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
